Platform Explorer / Nuxeo Platform LTS 2017 9.10

Component org.nuxeo.elasticsearch.defaultConfig

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.elasticsearch.defaultConfig">
  <require>org.nuxeo.elasticsearch.ElasticSearchComponent</require>

  <extension target="org.nuxeo.elasticsearch.ElasticSearchComponent" point="elasticSearchEmbeddedServer">
    <elasticSearchEmbeddedServer clusterName="nuxeoCluster" nodeName="nuxeoNode"
      pathData="/Users/arnaud/Nuxeo/distrib/nuxeo-server-tomcat-9.10/nxserver/data/elasticsearch" pathLogs="/Users/arnaud/Nuxeo/distrib/nuxeo-server-tomcat-9.10/log/elasticsearch"
      httpEnabled="true" networkHost="127.0.0.1" />
  </extension>

  <extension target="org.nuxeo.elasticsearch.ElasticSearchComponent" point="elasticSearchClient">
  <elasticSearchClient class="org.nuxeo.elasticsearch.client.ESTransportClientFactory">
    <option name="addressList"></option>
    <option name="clusterName">nuxeoCluster</option>
    <option name="clientTransportSniff">false</option>
    <option name="clientTransportIgnoreClusterName">false</option>
    <option name="clientTransportPingTimeout">5s</option>
    <option name="clientTransportNodesSamplerInterval">5s</option>
  </elasticSearchClient>
  </extension>

  <extension target="org.nuxeo.elasticsearch.ElasticSearchComponent"
    point="elasticSearchIndex">
    <elasticSearchIndex name="nuxeo" type="doc" repository="default">
      <fetchFromSource>
        <include>ecm:*</include>
        <include>dc:*</include>
        <exclude>ecm:binarytext</exclude>
      </fetchFromSource>
      <settings file="elasticsearch-doc-settings.json" />
      <mapping file="elasticsearch-doc-mapping.json" />
    </elasticSearchIndex>
  </extension>

</component>